/*
 * Timer.hpp
 *
 *  Created on: 27-12-2010
 *      Author: Przemek
 */

#pragma once

#include "pch.hpp"

/*
 * Simple lightweight SDL-based timer which can count seconds and milliseconds.
 */
class Timer
{
	private:
		Uint32 startTimeInMillis;
		Uint32 endTimeInMillis;

	public:
		Timer();
		void start();
		void stop();
		float getSeconds();
		Uint32 getMiliseconds();
};
